<?php

class User
{
	private $id;			// (int), UserId
	private $name;			// (string), User name
	private $password;		// (string)
	private $email;			// (string)

	public function __construct( $id, $name, $password, $email )
	{
		$this->id = $id;
		$this->name = $name;
		$this->password = $password;
		$this->email =$email;
	}

	public function id()
	{
		return $this->id;
	}

	public function name()
	{
		return $this->name;
	}

	public function password()
	{
		return $this->password;
	}

	public function email()
	{
		return $this->email;
	}
}
